package com.sky.service.impl;

import com.sky.mapper.DishFlavorMapper;
import com.sky.service.DishFlavorService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DishFlavorServiceImpl implements DishFlavorService {
    @Autowired
    private DishFlavorMapper dishFlavorMapper;

    /**
     * 根据菜品id批量删除口味
     * @param ids
     */
    @Override
    public void deleteBatch(List<Integer> ids) {
        dishFlavorMapper.deleteBatch(ids);

    }
}
